package io.github.talelin.latticy.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import io.github.talelin.latticy.bo.BannerWithItems;
import io.github.talelin.latticy.common.mybatis.Page;
import io.github.talelin.latticy.dto.banner.BannerDTO;
import io.github.talelin.latticy.model.BannerDO;

public interface BannerService {

    BannerDO update(BannerDTO dto, Long id);

    void delete(Long id);

    BannerWithItems getWithItems(Long id);

    IPage<BannerDO> getBannerPage(Page<BannerDO> page);
}
